package com.hxexp.weixin.mvc.refund.model;

import java.io.Serializable;

/**
 * 车票信息
 *
 * @author wang.bin
 * @author li.jiang
 */
public final class TicketInfoBean implements Serializable {

    private static final long serialVersionUID = 1451695016305366318L;
    /**
     * 复选框
     */
    private String checkbox;
    /**
     * 车票ID
     */
    private String ticketId;
    /**
     * 乘客姓名
     */
    private String fullname;
    /**
     * 证件号码
     */
    private String identificationNumber;
    /**
     * 证件类型
     */
    private String identificationType;
    /**
     * 车次名称
     */
    private String regBusNo;
    /**
     * 出发车站编码
     */
    private String startStationId;
    /**
     * 到达车站编码
     */
    private String arriveStationId;
    /**
     * 发车日期 格式：yyyy-MM-dd
     */
    private String leaveDate;
    /**
     * 发车时间 格式：hh:mm
     */
    private String leaveTime;

    /**
     * @return the checkbox
     */
    public String getCheckbox() {
        return checkbox;
    }

    /**
     * @param checkbox
     *            the checkbox to set
     */
    public void setCheckbox(String checkbox) {
        this.checkbox = checkbox;
    }

    /**
     * @return the ticketId
     */
    public String getTicketId() {
        return ticketId;
    }

    /**
     * @param ticketId
     *            the ticketId to set
     */
    public void setTicketId(String ticketId) {
        this.ticketId = ticketId;
    }

    /**
     * @return the fullname
     */
    public String getFullname() {
        return fullname;
    }

    /**
     * @param fullname
     *            the fullname to set
     */
    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    /**
     * @return the identificationNumber
     */
    public String getIdentificationNumber() {
        return identificationNumber;
    }

    /**
     * @param identificationNumber
     *            the identificationNumber to set
     */
    public void setIdentificationNumber(String identificationNumber) {
        this.identificationNumber = identificationNumber;
    }

    /**
     * @return the identificationType
     */
    public String getIdentificationType() {
        return identificationType;
    }

    /**
     * @param identificationType
     *            the identificationType to set
     */
    public void setIdentificationType(String identificationType) {
        this.identificationType = identificationType;
    }

    /**
     * @return the regBusNo
     */
    public String getRegBusNo() {
        return regBusNo;
    }

    /**
     * @param regBusNo
     *            the regBusNo to set
     */
    public void setRegBusNo(String regBusNo) {
        this.regBusNo = regBusNo;
    }

    /**
     * @return the startStationId
     */
    public String getStartStationId() {
        return startStationId;
    }

    /**
     * @param startStationId
     *            the startStationId to set
     */
    public void setStartStationId(String startStationId) {
        this.startStationId = startStationId;
    }

    /**
     * @return the arriveStationId
     */
    public String getArriveStationId() {
        return arriveStationId;
    }

    /**
     * @param arriveStationId
     *            the arriveStationId to set
     */
    public void setArriveStationId(String arriveStationId) {
        this.arriveStationId = arriveStationId;
    }

    /**
     * @return the leaveDate
     */
    public String getLeaveDate() {
        return leaveDate;
    }

    /**
     * @param leaveDate
     *            the leaveDate to set
     */
    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }

    /**
     * @return the leaveTime
     */
    public String getLeaveTime() {
        return leaveTime;
    }

    /**
     * @param leaveTime
     *            the leaveTime to set
     */
    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String.format(
                "TicketInfoBean [checkbox=%s, ticketId=%s, fullname=%s, identificationNumber=%s, identificationType=%s, regBusNo=%s, startStationId=%s, arriveStationId=%s, leaveDate=%s, leaveTime=%s]",
                checkbox, ticketId, fullname, identificationNumber, identificationType, regBusNo, startStationId,
                arriveStationId, leaveDate, leaveTime);
    }

}
